# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v3
# $Header: 

inherit distutils

DESCRIPTION="DEpendencies PAKages"
HOMEPAGE="http://depack.googlecode.com/"
SRC_URI="http://depack.googlecode.com/files/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc-macos ~ppc64 ~x86"
IUSE=""

RESTRICT="mirror"

DEPEND="sys-libs/glibc"
RDEPEND=">=dev-lang/python-2.3"

#src_unpack() {
#	unpack ${A}
#	cd ${S}
#}

src_install() {
	distutils_src_install
	
	insinto /etc/depack
		doins etc/config || die

	dodir /var/depack/base || die

	insinto /var/depack/locale
		doins locale/cp1251 || die
		doins locale/koi8r || die
		doins locale/utf8 || die
		doins locale/help.cp1251 || die
		doins locale/help.koi8r || die
		doins locale/help.utf8 || die
}
